class Student:

    def __init__(self, name, age):
        self.name = name  # self.name 实例属性
        self.age = age


stu1 = Student('张三', 20)
print(id(stu1))
print(type(stu1))
print(stu1)
print('-----------------------------')
print(id(Student))
print(type(Student))
print(Student)
stu2=Student(name="s", age=3)
print(stu2.__dict__)
